require 'rubygems'
require 'test/unit'
require "sandbox_base_test"

class SingletonMethodTest < TestSandbox
	
	def test_default
		
		assert_raise NoMethodError, RuntimeError do
			self.sandbox.run( "
			
							def system(*args)
							 super(*args)
							end
							system('ls -l')
							"
				)
		end
	end

end
